<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">



<h:head>
	<title><h:outputText value="#{bundle['titulo_principal']}" /></title>

</h:head>

<h:body>


	<div class="ui-widget ui-widget-header" style="min-width: 775px;">
		<div id="logo">
			<h1><h:outputText value="#{bundle['titulo_principal']}" /></h1>
		</div>
	</div>

	<p:tabView effect="opacity" effectDuration="normal"
		style="min-width:770px;">

		<p:tab title="#{bundle['menu_esquema']}" id="ABAesquemas">

			<h:form id="Fmenu">
				<p:menubar autoSubmenuDisplay="true">

					<p:submenu label="#{bundle['menu_esquematipoAtributo']}">
						<p:menuitem value="#{bundle['menu_esquematipoAtributonovo']}"
							action="#{indexController.setNTA}" update="outputPanelConteudo" />
						<p:menuitem value="#{bundle['menu_esquematipoAtributovisualizar']}"
							action="#{indexController.setVTA}" update="outputPanelConteudo" />
					</p:submenu>

					<p:submenu label="#{bundle['menu_esquemaclasseObjeto']}">
						<p:menuitem value="#{bundle['menu_esquemaclasseObjetonova']}"
							action="#{indexController.setNCO}" update="outputPanelConteudo" />
						<p:menuitem value="#{bundle['menu_esquemaclasseObjetovisualizar']}"
							action="#{indexController.setVCO}" update="outputPanelConteudo" />
					</p:submenu>

					<p:menuitem value="#{bundle['menu_esquemaregrasComparacao']}"
						action="#{indexController.setRC}" update="outputPanelConteudo" />
						
					<p:menuitem value="#{bundle['menu_esquemaajuda']}"
						url="#{bundle['menu_esquemaajudalink']}" update="outputPanelConteudo"  target="_blank" />
				</p:menubar>
			</h:form>
			
			<p:outputPanel id="outputPanelConteudo">
			   <ui:include src="#{indexController.paginaAtual}"/>  
			</p:outputPanel>
    		
	</p:tab>
	
	<p:tab title="#{bundle['menu_administrar']}">
			<ui:include src="/administrar.xhtml"/>
	</p:tab>
	</p:tabView>
	       

    </h:body>
    

 

</html>